<div class="container-fluid">
    <div class="row">
        <div class="span12">
            <h3>Upload result</h3>
            File Upload <b><?=$upl_message?></b> diproses!<?=$upl_status == "0"? " Silahkan perbaiki data dan lakukan upload ulang.":"" ?></br>
            <ul>
                <li>Empty row <?=$empty_row?></li>
                <li>Valid row <?=$valid_row?></li>
                <li>Invalid row <?=$invalid_row?></li>
                <li>Total row <?=$total_row?></li>
            </ul>
            
            
            <? if ($upl_status == "0") { 
                echo '<br><h3>Detail Error</h3> ';
                
                for ($i=0; $i<count($alumni); $i++){
                    
                    $error = $alumni[$i]->error;
                    if (count($error) > 0) {
                        echo 'Baris ke-'.$alumni[$i]->row.' : ';
                        for ($j=0; $j<count($error); $j++) {
                            echo $error[$j].", ";
                        }
                        echo "<br>";
                    }
                }
                
                //echo print_r($result, true);
            
            } ?>
            
        </div>
    </div>
    <br>
    <a class="btn btn-primary" href="<?= base_url() ?>masterprofile">Back</a></li>
</div>
